package com.zc.trendsDispatch.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 规则策略对象 charge_engine_rule
 *
 * @author glb
 * @date 2024-03-11
 */
public class ChargeEngineRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 策略Id */
    private Long ruleId;

    /** 策略名称 */
    @Excel(name = "策略名称")
    private String ruleName;

    /** 运行状态标识符（0:启动;1:停止） */
    @Excel(name = "运行状态标识符", readConverterExp = "0=:启动;1:停止")
    private String ruleStatus;

    /** 策略内容（包含触发器、执行条件、执行动作） */
    @Excel(name = "策略内容", readConverterExp = "包=含触发器、执行条件、执行动作")
    private String ruleContent;

    /** 策略描述 */
    @Excel(name = "策略描述")
    private String ruleDescription;

    /** 充电桩功率 */
    @Excel(name = "充电桩功率")
    private int pilePower;

    /** 调整类型 */
    @Excel(name = "调整类型")
    private String adjustType;

    public void setRuleId(Long ruleId)
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId()
    {
        return ruleId;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }

    public String getRuleName()
    {
        return ruleName;
    }
    public void setRuleStatus(String ruleStatus)
    {
        this.ruleStatus = ruleStatus;
    }

    public String getRuleStatus()
    {
        return ruleStatus;
    }
    public void setRuleContent(String ruleContent)
    {
        this.ruleContent = ruleContent;
    }

    public String getRuleContent()
    {
        return ruleContent;
    }
    public void setRuleDescription(String ruleDescription)
    {
        this.ruleDescription = ruleDescription;
    }

    public String getRuleDescription()
    {
        return ruleDescription;
    }

    public int getPilePower() {
        return pilePower;
    }

    public void setPilePower(int pilePower) {
        this.pilePower = pilePower;
    }

    public String getAdjustType() {
        return adjustType;
    }

    public void setAdjustType(String adjustType) {
        this.adjustType = adjustType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("ruleId", ruleId)
                .append("ruleName", ruleName)
                .append("ruleStatus", ruleStatus)
                .append("ruleContent", ruleContent)
                .append("ruleDescription", ruleDescription)
                .append("pilePower", pilePower)
                .append("adjustType", adjustType)
                .toString();
    }
}
